package com.sskj.lib.util;

import com.github.yoojia.inputs.Scheme;
import com.github.yoojia.inputs.verifiers.NotEmptyVerifier;
import com.sskj.common.base.App;
import com.sskj.lib.R;
import com.sskj.lib.box.verifier.EmailPhoneVerifier;
import com.sskj.lib.box.verifier.PwdVerifier;

public class SchemeUtil {
    public static Scheme getPwdScheme() {
        return new Scheme(new PwdVerifier()).msg(App.INSTANCE.getString(R.string.lib_schemeUtil1_j));
    }

    public static Scheme getEmailPhoneScheme() {
        return new Scheme(new EmailPhoneVerifier()).msg(App.INSTANCE.getString(R.string.lib_schemeUtil2_j));
    }

    public static Scheme getEmptyScheme(String content) {
        return new Scheme(new NotEmptyVerifier()).msg(App.INSTANCE.getString(R.string.lib_schemeUtil3_j) + content);
    }
}
